package com.dd.da.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 描述:页面
 *
 * @author: yanglin
 * @Date: 2021-03-05-13:04
 * @Version: 1.0
 */
@Slf4j
@Controller
@RequestMapping("/")
public class IndexController {

    @GetMapping("/login")
    public ModelAndView login2(){
        log.info("进入登录页面.............");
        return new ModelAndView("login");
    }

}
